#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<assert.h>
char* my_strcpy(char* p2, char* p1)
{
	assert(p1);
	assert(p2);
	char* m = p2;
	while (*p2++ = *p1++)
	{
		;
	}
	return m;
}
int main()
{
	char* p1 = "abcd";
	char* p2[20] = {0};
	char* ret = my_strcpy(p2, p1);
	printf("%s\n", ret);
	return 0;
}